﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using Umbrella.Whs.SharePoint;

namespace Umbrella.Whs.Service.Activities.SharePoint
{

    public sealed class DisconnectConfigDb : SafeCodeActivity
    {
        protected override void ExecuteSafe(CodeActivityContext context)
        {
            var ps = new RunPsConfig("-cmd configdb -disconnect");

            ps.Run();
        }
    }
}
